﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ERP.Manager.DataEntity;

namespace ERP.Manager.DataProvider
{
    public interface IDepartmentRepository
    {

        #region 添加部门信息
        int addDepartment(DepartmentInfo department);
        #endregion

        #region 修改部门信息
        int UpdateDepartment(DepartmentInfo department);
        #endregion

        #region 根据编号查询部门的详细信息
        DepartmentInfo DetailDepartment(string departmentid);
        #endregion

        #region 查询所有部门信息
        List<DepartmentInfo> getDepartments();
        #endregion
    }
}
